package com.example.demo.repository;

import com.example.demo.polo.Room;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Auther: Graycat
 * @Date: 2020/7/20 13:33
 * Create by lwj.
 */
public interface RoomRepository extends JpaRepository<Room,String> {
    @Override
    List<Room> findAll();

    @Override
    Room save(Room room);


}
